package com.ruoyi.business.domain.vo.admin;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 司机信息视图对象 sys_user_login_driver
 *
 * @author ruoyi
 * @date 2024-04-20
 */
@Data
@ExcelIgnoreUnannotated
public class AdminSysUserLoginDriverVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 司机id
     */
    @ExcelProperty(value = "司机id")
    private Long driverId;

    /**
     * 账号id(当前)
     */
    @ExcelProperty(value = "账号id(当前)")
    private Long relevanceUserId;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号")
    private String tel;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 其他参数
     */
    @ExcelProperty(value = "其他参数")
    private String elseParams;

    /**
     * 部门id(创建)
     */
    @ExcelProperty(value = "部门id(创建)")
    private Long deptId;

    /**
     * 用户id(创建)
     */
    @ExcelProperty(value = "用户id(创建)")
    private Long userId;

    /**
     * 分站id(创建)
     */
    @ExcelProperty(value = "分站id(创建)")
    private Long substationId;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ExcelProperty(value = "删除标志", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表存在,1=代表删除")
    private Integer isDeleted;

    /**
     * 真实姓名(司机)
     */
    @ExcelProperty(value = "真实姓名(司机)")
    private String realName;

    /**
     * 身份证正面URL
     */
    @ExcelProperty(value = "身份证正面URL")
    private String cardFrontUrl;

    /**
     * 身份证反面URL
     */
    @ExcelProperty(value = "身份证反面URL")
    private String cardBackUrl;

    /**
     * 身份证号码(司机)
     */
    @ExcelProperty(value = "身份证号码(司机)")
    private String cardId;

    /**
     * 离职时间
     */
    @ExcelProperty(value = "离职时间")
    private Date resignationTime;

    /**
     * 入职时间
     */
    @ExcelProperty(value = "入职时间")
    private Date entryTime;

    /**
     * 用户类型(driver)
     */
    @ExcelProperty(value = "用户类型(driver)")
    private String userType;

    /**
     * 车型
     */
    @ExcelProperty(value = "车型")
    private String carType;

    /**
     * 车长
     */
    @ExcelProperty(value = "车长")
    private Long carLength;

    /**
     * 企业id
     */
    @ExcelProperty(value = "企业id")
    private Long companyId;

    /**
     * 开户行
     */
    @ExcelProperty(value = "开户行")
    private String openingBank;

    /**
     * 银行卡号
     */
    @ExcelProperty(value = "银行卡号")
    private String creditCardNumbers;

    /**
     * 司机类型(直营|众包|专线)
     */
    @ExcelProperty(value = "司机类型(直营|众包|专线)")
    private String driverType;


    /**
     * 驾驶证正面URL
     */
    @ExcelProperty(value = "驾驶证正面URL")
    private String driversFrontUrl;

    /**
     * 驾驶证反面URL
     */
    @ExcelProperty(value = "驾驶证反面URL")
    private String driversBackUrl;

    /**
     * 行驶证正面URL
     */
    @ExcelProperty(value = "行驶证正面URL")
    private String drivingFrontUrl;

    /**
     * 行驶证反面URL
     */
    @ExcelProperty(value = "行驶证反面URL")
    private String drivingBackUrl;

}
